package router

import (
	"github.com/gin-gonic/gin"
	"oa_kadia_link/controller"
)

func User(router *gin.RouterGroup) {
	router.GET("today", controller.GetToday())
	router.PUT("today", controller.PutToday())
	router.PUT("apply", controller.PutApply())
	router.GET("access", controller.GetAccess())
	router.GET("records", controller.GetRecords())
	router.GET("applies", controller.GetApplies())
	router.GET("approves", controller.GetApproves())
	router.POST("approve", controller.Approve())
}